package ycl.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import ycl.common.base.entity.BaseEntity;



/**
 * <p>
 * 菜单
 * </p>
 *
 * @author ycl
 * @since 2022-03-03 11:43:56
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_menu")
@ApiModel(value = "SysMenu对象", description = "菜单")
public class SysMenu extends BaseEntity {

	
	private static final long serialVersionUID = 1L;

	@Schema(description = "上级菜单id")
	@TableField("parent_id")
	private Long parentId;

	@Schema(description = "菜单名")
	@TableField("name")
	private String name;

	@Schema(description = "状态")
	@TableField("status")
	private Boolean status;


}
